extends ../base/login_base

append content
  div(id='loginModal',class='modal show',role='dialog',aria-hidden='true')
    div(class='modal-dialog')
      div(class='modal-content')
        div(class='modal-header')
            h1(class='text-center') 注册
        div(class='modal-body')
          form(class='form col-md-12 center-block')
            div(class='form-group')
              input(type='text',name='userName',
                     class='form-control input-lg',placeholder='用户名')
            div(class='form-group')
              input(type='password',name='passwd',
                     class='form-control input-lg',placeholder='密码')
            div(class='form-group')
              select(class="form-control",name='roleId')
                option(value='老师') 老师
                option(value='学生') 学生
                option(value='管理员') 管理员

            div(class='form-group')
              button(class='btn btn-primary btn-lg btn-block') 注册
        div(class='modal-footer')
